﻿@using WebStore.Web.App.Utility.Enum
@using WebStore.Web.App.Utility.Other
@{
    if (TempData["ClientMessage"] is List<ClientMessage>)
    {
        foreach (var message in ((List<ClientMessage>)TempData["ClientMessage"]))
        {
            if (message.ClientMessageType == ClientMessageType.Error)
            {
    <div class="MessageError">@message.Message</div>
            }
            else
            {
    <div class="Message">@message.Message</div>
            }
        }
    }
}